import Layout from '@/layout'
import SettingEnv from '@/setting.env'

const user = 'user_'

export default {
  path: `${SettingEnv.customRouter}/user`,
  name: 'user',
  component: Layout,
  alwaysShow: true,
  redirect: `${SettingEnv.customRouter}/user/list`,
  meta: {
    title: '用户',
    icon: 'el-icon-user-solid'
  },
  children: [
    {
      path: 'list',
      name: `${user}user_list`,
      meta: {
        title: '用户管理'
      },
      component: () => import('@/views/user/user_list')
    }
  ]
}
